﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Pulog.Models
{
    public interface ICategoryRepository
    {
        #region Categories
        List<Category> GetAllCategories();
        Category GetCategoryByID(int id); 
        List<string> GetCategoriesByPostId(int id);

        void AddCategory(Category category);
        void DeleteCategoryWithAllPosts(Category category);

        void Save();

        #endregion

    }
}